import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './permission.js'
import './plugins/element.js'
import 'normalize.css'
import '@/assets/css/base.css'
import api from './api'
Vue.prototype.$api =api;
// import * as echarts from 'echarts'
// Vue.prototype.$echarts=echarts
import JsonExcel from 'vue-json-excel'
Vue.component('downloadExcel',JsonExcel)
Vue.config.productionTip = false

//全局面包屑
import Breadcrumb from './components/Breadcrumb/Breadcrumb.vue'
Vue.component('Breadcrumb',Breadcrumb)


import i18n from './lang'

new Vue({
  router,
  store,
  i18n,
  render: h => h(App)
}).$mount('#app')
